<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<title>企盘 | 文件管理 | 企盘网页版</title>
<meta content="none" name="robots">
</head>
    <body onload="load()">
        <form action="/upload_file.php" method="POST"
        enctype="multipart/form-data">
        <label for="file">文件上传</label><br>
        <input type="file" name="file" id="file">
        <input name="ownerid" id="ownerid" type="text" value="" hidden="true" />
        <input name="parentid" id="parentid" type="text" value="" hidden="true" />
        <input name="path" id="path" type="text" value="" hidden="true" />
        <br />
        <input type="submit" name="submit" value="本地上传" />
        </form>
    <input type="button" id="cancelbnt" value="关闭" />
    </body>
</html>
<script src="/js/jquery-1.4.2.min.js?1.0.0.35"></script>
 <script type="text/javascript">
    function load()
    {
       document.getElementById('ownerid').value = window.parent.userId;
       document.getElementById('parentid').value = window.parent.dirId;
       document.getElementById('path').value = window.parent.path;
    }
    
$(function(){

$("#cancelbnt").click(function(){

parent.popRef.close();

});

});

 </script>